#ifndef _LO_SCRIPT_MOVE_NEXT_H_
#define _LO_SCRIPT_MOVE_NEXT_H_

#include <utility>
#include "edaMoveGen.h"
#include "loDefine.h"

class loScriptMoveNext: public edaMoveGen
{
 public:
  loScriptMoveNext();
  loScriptMoveNext( int from, int to );
  // Copy constructor
  loScriptMoveNext(const loScriptMoveNext &m);

  ~loScriptMoveNext();

  edaMoveGen *clone() const;
  virtual bool generate( edaMove *move, const edaSolution &sol );
  void Serialize( edaBuffer &buf, bool pack );

  setClassID(_USERCLASSID_ + _CLSID_SCRIPT_MOVE_NEXT_);

 private:
  int from_, to_;
};

#endif
